﻿using System;

namespace Canteen.Core.Models
{
    public  interface IBaseEntity : IBaseEntity<int>
    {
    }
    public interface IBaseEntity<TPrimaryKey>
    {
        TPrimaryKey Id { get; set; }
        DateTime CreateTime { get; set; }// 创建时间
        DateTime? UpdateTime { get; set; }// 更新时间
    }
}